# 4.1、基于哪个镜像
From 172.168.201.32:31104/base/oracle_jdk:8u201
# 创建目录
RUN mkdir -p /data/applications && mkdir -p /disk/nfs
# 4.2、复制文件到容器
ADD ./fgbp-icsp-face-manage.jar /app.jar
# 4.3、声明需要暴露的端口
EXPOSE 8080
# 4.4、配置容器启动后执行的命令
ENTRYPOINT ["java","-Xverify:none","-XX:+DisableExplicitGC","-Djava.awt.headless=true","-Xdebug","-Xrunjdwp:server=y,transport=dt_socket,suspend=n","-Duser.timezone=Asia/Shanghai","-Dlogging.file=/data/applications/app.log","-jar","/app.jar"]